package com.typingtutor.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.swing.tree.DefaultMutableTreeNode;

@EqualsAndHashCode(callSuper = true)
@Data
@AllArgsConstructor
public class Folder extends DefaultMutableTreeNode {
    private String id;
    private String name;
    private String parentFolderId;

    @Override
    public String toString() {
        return name;
    }
}